package com.zatech.cgnci.project.controller;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zatech.cgnci.project.dto.ReceiptPaymentBillsQueryDTO;
import com.zatech.cgnci.project.service.CgnciReceiptPaymentBillsService;
import com.zatech.cgnci.project.vo.CgnciEndorsementInsurancePageVO;
import com.zatech.cgnci.project.vo.CgnciReceiptPaymentBillsVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 收付费账单表 前端控制器
 * </p>
 *
 * @author Generator
 * @since 2025-01-15
 */
@RestController
@RequestMapping("/api/receiptPaymentBills")
@Api(produces = "application/json",tags = "收付费账单api接口文档")
public class CgnciReceiptPaymentBillsController {

    @Autowired
    private CgnciReceiptPaymentBillsService receiptPaymentBillsService;

    @PostMapping("/page")
    @ApiOperation(value = "分页列表查询")
    public IPage<CgnciReceiptPaymentBillsVO> page(@RequestBody ReceiptPaymentBillsQueryDTO queryDTO) {
        return receiptPaymentBillsService.page(queryDTO);
    }
}

